﻿using System;
using System.Data;
using System.Data.SqlClient;

using BizElements.Core.ProviderComponents;

namespace BizElements.Core.SqlServer
{
    sealed class SqlServerDataAdapterBuilder : IDataAdapterBuilder
    {
        public IDataAdapter BuildAdapter(IDbCommand cmd)
        {
            return new SqlDataAdapter((SqlCommand)cmd);
        }
    }
}
